package com.riddle.service;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import com.riddle.dao.BaseDao;
import com.riddle.dao.CategoryDao;
import com.riddle.model.Category;

@Service
@Scope("prototype")  
public class CategoryService extends BaseService<Category>  {

	@Resource
	private CategoryDao categoryDao;
	
	@Override
	protected BaseDao getDao() {
		return categoryDao;
	}

}
